<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script>
        // 函数也是一种数据类型  function 
        var num = 10;
        var str = 'andy';
        // 函数表达式 
        var fn = function() {};
        console.log(typeof num, typeof str, typeof fn);
        // number string function
        function fun() {}
        console.log(typeof fun);
    </script>
</head>

<body>

</body>

</html>